package com.gaohe.hotal.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.gaohe.common.annotation.Excel;
import com.gaohe.common.core.domain.BaseEntity;

/**
 * 价格方案对象 hot_way
 * 
 * @author ruoyi
 * @date 2025-07-02
 */
public class HotWay extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 价格方案id */
    private Long wayId;

    /** 方案名称 */
    @Excel(name = "方案名称")
    private String wayName;

    /** 品牌id */
    @Excel(name = "品牌id")
    private Long brandId;

    /** 门店id */
    @Excel(name = "门店id")
    private Long hotalId;

    /** 方案来源 */
    @Excel(name = "方案来源")
    private String source;

    /** 方案类别(普通/钟点) */
    @Excel(name = "方案类别(普通/钟点)")
    private String type;

    /** 规则类型(冗余) */
    @Excel(name = "规则类型(冗余)")
    private String ruleType;

    /** 开始日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 是否长期有效 */
    @Excel(name = "是否长期有效")
    private Long isLongTerm;

    /** 分组(冗余) */
    @Excel(name = "分组(冗余)")
    private String group;

    /** 方案描述 */
    @Excel(name = "方案描述")
    private String detail;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 是否删除 */
    private Long delFlag;

    public void setWayId(Long wayId) 
    {
        this.wayId = wayId;
    }

    public Long getWayId() 
    {
        return wayId;
    }

    public void setWayName(String wayName) 
    {
        this.wayName = wayName;
    }

    public String getWayName() 
    {
        return wayName;
    }

    public void setBrandId(Long brandId) 
    {
        this.brandId = brandId;
    }

    public Long getBrandId() 
    {
        return brandId;
    }

    public void setHotalId(Long hotalId) 
    {
        this.hotalId = hotalId;
    }

    public Long getHotalId() 
    {
        return hotalId;
    }

    public void setSource(String source) 
    {
        this.source = source;
    }

    public String getSource() 
    {
        return source;
    }

    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    public void setRuleType(String ruleType) 
    {
        this.ruleType = ruleType;
    }

    public String getRuleType() 
    {
        return ruleType;
    }

    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }

    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }

    public void setIsLongTerm(Long isLongTerm) 
    {
        this.isLongTerm = isLongTerm;
    }

    public Long getIsLongTerm() 
    {
        return isLongTerm;
    }

    public void setGroup(String group) 
    {
        this.group = group;
    }

    public String getGroup() 
    {
        return group;
    }

    public void setDetail(String detail) 
    {
        this.detail = detail;
    }

    public String getDetail() 
    {
        return detail;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("wayId", getWayId())
            .append("wayName", getWayName())
            .append("brandId", getBrandId())
            .append("hotalId", getHotalId())
            .append("source", getSource())
            .append("type", getType())
            .append("ruleType", getRuleType())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("isLongTerm", getIsLongTerm())
            .append("group", getGroup())
            .append("detail", getDetail())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
